package com.mys2sh.cookie;

import com.mys2sh.util.DESCryptor;

public abstract class CookieCryptor extends DESCryptor {
	private static final String COOKIE_CRYPTOR_KEY = "mys2sh12";
	
	public static String encode(String content) {
		return encryptor(content, COOKIE_CRYPTOR_KEY);
	}
	
	public static String decode(String code) {
		return decryptor(code, COOKIE_CRYPTOR_KEY);
	}
}
